import { onHide, onShow, onUnload, onLoad, onReady, onShareAppMessage } from "@dcloudio/uni-app";
import { Setup, Vue } from "vue-facing-decorator";
export class MyVue extends Vue {
    onLoad(option?: any) {
    }
    onShow(option?: any) {
    }
    onHide() {
    }
    onReady() { }

    onBack() {

    }
    mounted(option: any) {
        let that = this;
        that.onLoad(option);

        onReady(() => {
            that.onReady();
        });
        this.onBack = () => {
            that.onBack();
        };
        onShow((option) => {
            that.onShow(option);
        });
        onHide(() => {
            that.onHide();
        });
    }
}